structure Pointer =
struct
  val advance = SMLSharp_Builtin.Pointer.advance
  val load = SMLSharp_Builtin.Pointer.deref
  val store = SMLSharp_Builtin.Pointer.store

  val isNull : 'a ptr -> bool
  val NULL = SMLSharp_Builtin.Pointer.null

  val importBytes : word8 ptr * int -> word8 vector
  val importString : char ptr -> string
  val importString' : char ptr * int -> string
end
